Location:
Search - open iscsi
Search list
Description: 一个iscsi实现源码,值得参考。It is a high-performance, transport independent,
multi-platform implementation of RFC3720 iSCSI.
Platform: |
Size: 257003 |
Author: spark |
Hits:
Description: 一个iscsi实现源码,值得参考。It is a high-performance, transport independent,
multi-platform implementation of RFC3720 iSCSI.-ISCSI realize a source, it is also useful. It is a high-performance, transport independent, multi-platform implementation of RFC3720 iSCSI.
Platform: |
Size: 257024 |
Author: spark |
Hits:
Description: 网络存储协议iscsi,很多大公司的存储产品都使用了此代码。-Network storage protocols iscsi, many large company' s storage products are used in this code.
Platform: |
Size: 330752 |
Author: 张三 |
Hits:
Description: Open iscsi source code
Platform: |
Size: 900096 |
Author: Jacky Aw |
Hits:
Description: openfiler中文操作配置手册,是基于linux的开源的网络存储管理软件,具备ISCSI,CIFS,NFS,HTTP,FTP等协议的支持。-the Openfiler Chinese operation Configuration Manual, is open source linux-based network storage management software, support iSCSI, CIFS, NFS, HTTP, FTP, and other protocols.
Platform: |
Size: 3773440 |
Author: andyyang |
Hits:
Description: 就是一个`linux系统的`iscsi应用软件现在还在测试阶段-Is a `linux system` iscsi application software is still in testing phase
Platform: |
Size: 666624 |
Author: CJQ |
Hits:
Description: 源码包含一个读取ISO文件和虚拟磁盘文件(VHD, VDI, XVA, VMDK, etc)的类和完整的调用示例。
对于ISO、UDF、FAT和NTFS的支持已经非常完善。支持VHD, XVA, VMDK 和VDI格式的读写与注册。
类库中还包含一个简单的iSCSI启动器,可以通过iSCSI和一个NFS客户端实现对磁盘的访问。
这里有几段简单的示例代码,可以看出来使用还是非常方便的:
新建一个ISO文件:
CDBuilder builder = new CDBuilder();
builder.UseJoliet = true;
builder.VolumeIdentifier = "A_SAMPLE_DISK";
builder.AddFile(@"Folder\Hello.txt", Encoding.ASCII.GetBytes("Hello World!"));
builder.Build(@"C:\temp\sample.iso");
你可以通过流或者文件的方式来进行ISO的操作。
从ISO文件中提取一个文件:
using (FileStream isoStream = File.Open(@"C:\temp\sample.iso"))
{
CDReader cd = new CDReader(isoStream, true);
Stream fileStream = cd.OpenFile(@"Folder\Hello.txt", FileMode.Open);
// Use fileStream...
}
同样,你也可以浏览ISO内部包含的目录或者作为启动盘。
新建一个虚拟磁盘:
long diskSize = 30 * 1024 * 1024; //30MB
using (Stream vhdStream = File.Create(@"C:\TEMP\mydisk.vhd"))
{
Disk disk = Disk.InitializeDynamic(vhdStream, diskSize);
BiosPartitionTable.Initialize(disk, WellKnownPartitionType.WindowsFat);
using (FatFileSystem fs = FatFileSystem.FormatPartition(disk, 0, null))
{
fs.CreateDirectory(@"TestDir\CHILD");
// do other things with the file system...
}
}
新建一个虚拟软盘:
using (FileStream fs = File.Create(@"myfloppy.vfd"))
{
using (FatFileSystem floppy = FatFileSystem.FormatFloppy(fs, FloppyDiskType.HighDensity, "MY FLOPPY "))
{
using (Stream s = floppy.OpenFile("foo.txt", FileMode.Create))
{
// Use stream...
}
}
}
也可以作为启动软盘使用。
Platform: |
Size: 438282 |
Author: twklzw |
Hits: